import antdLocale from 'ant-design-vue/es/locale/en_US';
export default {
	antdLocale,
	// 通用组件
	common: {
		generic: {
			codelistwarn:
				'Code table value type and property type do not match, automatic cast exception, please correct code table value type and property type match',
			codenotexist: 'Code list does not exist',
			error: 'Error',
			warn: 'Warning',
			noservice: 'Service does not exist',
			miss: 'Missing parameter ',
			requestexception: 'Request Exception！',
			loadfail: 'Failed to load data',
			codelistcast:
				'Code table value type and property type do not match, auto cast',
		},
		timeline: {
			index: 'serial',
			node: 'node',
			author: 'accepting officer',
			type: 'operation',
			lasttime: 'completion time',
			opinion: 'approval opinion',
			inhand: 'inhand:',
		},
		login: {
			userplaceholder: 'Please Enter Username',
			pwdplaceholder: 'Please Enter Password',
			login: 'Login',
			reset: 'Reset',
			other: 'Other Login Ways',
			dingding: 'DingDing Login',
			wxwork: 'WXWork Login',
			loginmsg: 'Please Enter Username And Password',
		},
		fileupload: {
			uploadtext: 'Drag the file or click Upload',
			filetypeerrortitle: 'File type incorrect',
			filetypeerrorinfo:
				'Please select files with picture types，such as JPEG，GIF，PNG，BMP',
			notpdffiletype: 'Incorrect file type, please select PDF file type',
			downloaderror: 'Download failed!',
			caption: 'Upload',
			draguploaderror: 'Do not drag upload',
		},
		datapicker: {
			error: 'Error',
			miss: 'Missing parameter ',
			requestexception: 'Request Exception！',
			newandedit: 'Create And Edit...',
			systemexception: 'System Error！',
			valueitemexception: 'Valueitem Error！',
			formdataexception: 'Formdata Error！',
			nosupport: 'The redirect view is not yet supported',
		},
		datapickerview: {
			placeholder: 'Please select...',
		},
		datepicker: {
			placeholder: 'Please select time...',
		},
		dropdownlist: {
			placeholder: 'Please select...',
			valueerror: 'Drop down list, value conversion failed',
		},
		user: {
			name: 'System',
			lock: 'Application of lock screen',
			logout: 'Logout',
			theme: 'Topic Configuration',
		},
		theme: {
			title: 'Topic Configuration',
		},
		messagepopover: {
			loadmore: 'Load more',
			error: 'Error loading data',
			mytaskslabel: 'ToDo',
			mymsgslabel: 'Message',
			mynoticelabel: 'Notice',
		},
		tabpageexp: {
			more: 'More',
			closeall: 'Close All',
			closeother: 'Close Other',
		},
		groupselect: {
			groupselect: 'Group Select',
		},
		aftertime: {
			minutesago: 'Minutes ago',
			hoursago: 'Hours ago',
			dayago: 'Days ago',
			monthsago: 'Months ago',
			yearsago: 'Years ago',
		},
	},
	// 预制功能视图
	function: {
		generic: {
			promptInformation:
				'Do you want to quit the system? Do you want to continue?',
			prompt: 'Prompt',
		},
		lockscren: {
			label: 'Set the password lock screen',
			message: 'The lock screen password cannot be empty',
			placeholder: 'Please enter the lock screen password',
			placeholder1: 'Please enter your login password',
			message1: 'The unlock password is wrong. Please reenter it',
			confirmbuttontext: 'Determine',
			cancelbuttontext: 'Cancel',
			lock: 'Application of lock screen',
		},
		'404': {
			errortext1: 'Sorry，the page you visited is not exist！',
			errortext2: 'The page you visited is not exist，please return to',
			indexpage: 'Home page',
			continue: 'To continue browsing',
		},
		'500': {
			errortext1: "Sorry，there's something wrong with the server！",
			errortext2: "There's something wrong with the server，please return to",
			indexpage: 'Home page',
			continue: 'To continue browsing',
		},
		dataimport: {
			selectfile: 'Click this area to upload',
			uploadserver: 'Upload Server',
			datatemplate: 'Import Data Template',
			datatemplatemessage:
				'Download the Import Data Template, According to the specification required to fill in',
			read: ' Read Successful',
			completed: 'Import Completed',
			confirm: 'OK',
			cancel: 'Cancel',
		},
	},
	// 布局组件
	layoutElement: {
		login: {
			loginfailed: 'Login failed',
			authfailed: 'Authentication failed',
			phoneplaceholder: 'Please enter your mobile phone number',
			phonefailed: 'The phone number is incorrect',
			codeplaceholder: 'Please enter the verification code',
			getcode: 'Get verification code',
			getcodeafter: 'Get verification code after',
			entervercode: 'Please enter the verification code',
			phoneerror: 'The format of the phone number is incorrect',
		},
	},
	// 应用
	app: {
		warn: {
			nofind: 'No relevant data could be found',
		},
		common: {
			confirm: 'OK',
			cancel: 'Cancel',
		},
		notificationtitle: {
			error: 'Error',
			success: 'Success',
		},
	},
	// 视图
	view: {},
	// 部件
	widget: {
		md: {
			notconfig: {
				fetchaction: 'The fetchaction parameter is not configured',
				removeaction: 'The removeaction parameter is not configured',
				createaction: 'The createaction parameter is not configured',
				updateaction: 'The updateaction parameter is not configured',
				loaddraftaction: 'The loadtrafaction parameter is not configured',
			},
		},
		editform: {
			notconfig: {
				loadaction: 'The loadAction parameter is not configured',
				loaddraftaction: 'The loadDraftAction parameter is not configured',
				updateaction: 'The updateAction parameter is not configured',
				createaction: 'The createAction parameter is not configured',
				removeaction: 'The removeAction parameter is not configured',
			},
			savesuccess: 'Save Success',
			savefailure: 'Save Failure',
			removesuccess: 'Remove Success',
			removefailure: 'Remove Failure',
			formvalidate: 'Form Validate Failure',
			formdruipart: 'Please save the master data first',
			hiddenfields: 'Hidden fields',
			showfilelds: 'Show fields',
		},
		chart: {
			undefined: 'Undefined',
			quarter: 'Quarter',
			year: 'Year',
			noindicator: 'Indicator does not exist. Cannot convert data set!',
		},
		calendar: {
			today: 'today',
			month: 'month',
			week: 'week',
			day: 'day',
			list: 'list',
		},
		wizardpanel: {
			finish: 'Finish',
			prev: 'Last Step',
			next: 'Next Step',
		},
	},
};
